#ifndef __VISIBLERECT_H__
#define __VISIBLERECT_H__

#include "GameGlobal.h"

class VisibleRect
{
public:
	static CCRect getVisibleRect();

	static CCPoint left();
	static CCPoint right();
	static CCPoint top();
	static CCPoint bottom();
	static CCPoint center();
	static CCPoint leftTop();
	static CCPoint rightTop();
	static CCPoint leftBottom();
	static CCPoint rightBottom();

	static float width();
	static float height();

private:
	static void lazyInit();
	static CCRect s_visibleRect;
};

#endif